package abstractfactory;

import org.junit.Test;

/**
 * Created by Administrator on 2017/1/8.
 */
public class FactoryTest {
    @Test
    public void test() {
        Factory factory = new SingleFactory();
        Pizza pizza = factory.createPizza();
        pizza.createPizza();
    }
}
